@@ -81,7 +81,7 @@ module Agents |
||
| 81 | 81 |
current_status = measured_result ? measured_result.status.to_s : '' |
| 82 | 82 |
return if options['changes_only'] == 'true' && current_status == memory['last_status'].to_s |
| 83 | 83 |
|
| 84 |
- payload = { 'url' => url, 'response_received' => false, 'elapsed_time' => total_time }
|
|
| 84 |
+ payload = { 'url' => url, 'response_received' => false, 'elapsed_time' => total_time, 'status' => measured_result.status.to_s }
|
|
| 85 | 85 |
|
| 86 | 86 |
# Deal with failures |
| 87 | 87 |
if measured_result |